/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.gac.palette;

import org.gac.stepmanager.StepTypeWrapper;
import org.openide.nodes.AbstractNode;
import org.openide.nodes.Children;
import org.openide.util.lookup.Lookups;

/**
 *
 * @author Tomek
 */
public class StepNode extends AbstractNode{

    private StepTypeWrapper _wrapper;

    public StepNode( StepTypeWrapper wrapper )
    {
        super( Children.LEAF, Lookups.fixed( new Object[]{wrapper}));
        _wrapper = wrapper;
        //setIconBaseWithExtension( null );

    }

    @Override
    public String getName()
    {
        return _wrapper.getName();
    }
}
